home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / OS2 / CFGED.ARJ / CFGFILE.H < prev    next >
C/C++ Source or Header  |  1992-07-18  |  2KB  |  50 lines

  1. // this might look like 'C', but it's really  -*-c++-*-
  2. /* cfgfile.h
  3.  *
  4.  * Declaration of class CfgFile
  5.  *
  6.  * this class allows access to the Configuration File CONFIG.SYS
  7.  *
  8.  * Language        : C++
  9.  * Operating System: OS/2 V2.0 and higher
  10.  * Compiler        : GNU GCC V2.1 and higher
  11.  *
  12.  * History:
  13.  * Edit Histroy:
  14.  *
  15.  * $Id: cfgfile.h,v 1.1 1992/07/17 00:46:57 gruen Exp $
  16.  * $Log: cfgfile.h,v $
  17.  * Revision 1.1  1992/07/17  00:46:57  gruen
  18.  * Initial revision
  19.  *
  20.  *
  21.  * Copyright (c) 1992 Lutz Grueneberg
  22.  *
  23.  * This library is free software; you can redistribute it and/or modify
  24.  * it under the terms of the GNU Library General Public License as
  25.  * published by the Free Software Foundation; either version 2 of the
  26.  * License, or (at your option) any later version.  This library is
  27.  * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  28.  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  29.  * A PARTICULAR PURPOSE.  See the GNU Library General Public License for
  30.  * more details. You should have received a copy of the GNU Library
  31.  * General Public License along with this library; if not, write to the
  32.  * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  33.  */
  34. #ifndef cfgfile_h
  35. #define cfgfile_h
  36.  
  37. #include "StrDLL.h"
  38.  
  39. class CfgFile {
  40. public:
  41.   StrDLList strList;
  42.   int  read( char *szFileName);
  43.   int  save( char *szFileName, char *szOldFileName);
  44.   void printToListBox( ListBox  *plb);
  45.   String* retrieve( SHORT iItem);
  46.   Pix retrievePix( SHORT iItem);
  47.   void list( void);
  48. };
  49. #endif /* cfgfile_h */
  50.